package com.doumi.biz.qadev.api.util;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by YDZ on 2019/10/25.
 */
public class JsonUtils {
    public JSONObject beanToJson(Object o){
        JSONObject jsonObject = (JSONObject) JSONObject.parseObject(JSONObject.toJSON(o).toString());
        return jsonObject;
    }
}
